package com.SmartCare.common.vo.diet;


import cn.hutool.core.collection.CollUtil;
import com.SmartCare.pojo.diet.Food;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DietBreakfastVo {
    /**
     * 粥及豆浆
     */
    private List<Food> drinkList;
    /**
     * 辅食
     */
    private List<Food> assistedFood;
    /**
     * 鸡蛋牛奶，鸡蛋牛奶类
     */
    private List<Food> eggMilkList;
    /**
     * 主食
     */
    private List<Food> foodList;

    private List<OthersVo> others;

    public boolean isEmpty() {
        return CollUtil.isEmpty(drinkList) &&
                CollUtil.isEmpty(assistedFood) &&
                CollUtil.isEmpty(eggMilkList) &&
                CollUtil.isEmpty(foodList) &&
                CollUtil.isEmpty(others);
    }

}


